//--------------------------------------------------------------
//
// Qizhi Zhang 
// ezhung@gmail.com
// http://www.moorwind.com
//
//--------------------------------------------------------------
package reader.controller
{
	import mx.managers.PopUpManager;
	
	import org.puremvc.as3.multicore.interfaces.ICommand;
	import org.puremvc.as3.multicore.interfaces.INotification;
	import org.puremvc.as3.multicore.patterns.command.SimpleCommand;
	
	import reader.core.ReaderModelLocator;
	import reader.view.components.AboutMePanel;

	public class AboutMeCommand extends SimpleCommand implements ICommand
	{
		//////////////////////////////////////////////////////////////////////////////
		//methods
				
		override public function execute(notification:INotification):void
		{
			var reader:Reader = ReaderModelLocator.instance.airReader;
			var about:AboutMePanel = PopUpManager.createPopUp(reader, AboutMePanel, true) as AboutMePanel;
			PopUpManager.centerPopUp(about);
		}
		
	}
}